package movee.io.dunet;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 与dunet平台交互的接口
 *
 * @author movee
 */
@FeignClient(url = "${dunet.host}", name = "dunet-feign", configuration = DunetFeignConfig.class, path = "/dunet")
public interface DunetFeign {

    @PostMapping("/netwareDevice/GetList")
    String getDevices(@RequestBody Map<String, Object> query);
}
